<template>
  <div class="detail-view" v-html="html">
  </div>
</template>
<script>
export default {
  name: 'association',
  data () {
    return {
      html: ''
    }
  },
  components: {
  },
  computed: {
  },
  created () {
    this.getArticles()
  },
  methods: {
    toDetail (item) {
      this.$router.push({ path: `/information`, query: { name: '价格走势', id: item.id } })
    },
    getArticles () {
      this.$http.showArticle({}, 100084).then(res => {
        this.html = res.data[0].content
      })
    },
    down (url) {
      if (url) {
        window.location.href = url
      }
    }
  }
}
</script>
<style lang="scss">
</style>
